package cn.iocoder.yudao.module.design.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

public interface ErrorCodeConstants {
    ErrorCode HOUSE_NOT_EXISTS = new ErrorCode(100001, "项目信息不存在");
    ErrorCode PIC_NOT_EXISTS = new ErrorCode(100001, "图片不存在");
    ErrorCode PROJECT_MANAGER_NOT_EXISTS = new ErrorCode(100001, "认证项目经理不存在");
    ErrorCode FLOW_NOT_EXISTS = new ErrorCode(100001, "流程信息不存在");
    ErrorCode NODE_NOT_EXISTS = new ErrorCode(100001, "任务节点信息不存在");
    ErrorCode ER_NOT_EXISTS = new ErrorCode(100001, "认证设计师不存在");
    ErrorCode HOUSE_USER_REL_NOT_EXISTS   = new ErrorCode(100001, "住宅用户关联不存在");
    ErrorCode FLOW_MD_NOT_EXISTS   = new ErrorCode(100001, "流程模板不存在");
    ErrorCode   FLOW_TASK_NOT_EXISTS  = new ErrorCode(100001, "任务不存在");
    ErrorCode RELATIVED_NOT_EXISTS = new ErrorCode(100001, "关联人不存在");
    ErrorCode RELATIVED_NC_NOT_EXISTS = new ErrorCode(100001, "关联人表请求不存在");
    ErrorCode DIARY_NOT_EXISTS = new ErrorCode(100001, "日记不存在");
    ErrorCode PROBLEM_NOT_EXISTS = new ErrorCode(100001, "项目问题不存在");
    ErrorCode QUERY_NOT_EXISTS = new ErrorCode(100001, "无权限查询");
    ErrorCode USER_LABEL_NOT_EXISTS= new ErrorCode(100001, "用户标签不存在");
    ErrorCode USER_FLOW_REL_NOT_EXISTS= new ErrorCode(100001, "用户和流程关联表不存在");
    ErrorCode PURCHASE_NOT_EXISTS = new ErrorCode(100001, "采购清单不存在");
    ErrorCode USER_ACCOUNT_NOT_EXISTS = new ErrorCode(100001, "用户账户信息不存在");
    ErrorCode  PROBLEM_RECORD_NOT_EXISTS = new ErrorCode(100001, "问题记录不存在");
    ErrorCode  PROBLEM_INNER_REL_NOT_EXISTS = new ErrorCode(100001, "问题关联记录不存在");
    ErrorCode NOTES_NOT_EXISTS = new ErrorCode(100001, "项目笔记不存在");
    ErrorCode PROBLEM_DEALER_REL_NOT_EXISTS = new ErrorCode(100001, "问题处理人关联不存在");
    ErrorCode REFORM_NOT_EXISTS = new ErrorCode(100001, "项目整改单不存在");
    ErrorCode REFORM_BUSINESS_NOT_EXISTS = new ErrorCode(100001, "当前登录人无此权限");
    ErrorCode REFORM_BUSINESS_STATUS_NOT_EXISTS = new ErrorCode(100001, "当前状态不允许修改");


    // ==========Design 流程设计 1002023000===============
    ErrorCode  NO_AUTHORITY_OPTION_BY_PROJECT = new ErrorCode(1002023000, "非本项目人员无权限操作");
    ErrorCode  IMPORT_PURCH_FLOW_ERROR = new ErrorCode(1002023001, "数据库录入采购流程失败");

    ErrorCode  SG_FLOW_NOT_CREATE_TO = new ErrorCode(1002023002, "施工流程未创建,请提醒项目经理创建后流转");
    ErrorCode  SG_FLOW_NOT_CREATE = new ErrorCode(1002023002, "施工流程未创建！");

    ErrorCode  EXIST_ROLLBACK_TURN_DOWN= new ErrorCode(1002023003, "当前节点已回退,不允许多次回退");

    ErrorCode  EXIST_ROLLBACK_TURN_DOWNS= new ErrorCode(1002023004, " {{}} 节点已有回退记录,不允许多次回退");

    ErrorCode  PURCH_ITEM_NOT_NULL= new ErrorCode(1002023005, " 采购材料不能为空");

    ErrorCode  PROJECT_MANAGER_NOT_SETTING= new ErrorCode(1002023006, " 项目经理未配置/未接受");

    ErrorCode  TASK_NOT_EXIST_DATA_ERROR= new ErrorCode(1002023007, " 任务不存在,数据错误");

    ErrorCode  NOT_OPTION_SELF_DATA= new ErrorCode(1002023008, "不允许非本人处理数据!!!");


    ErrorCode  RELATION_DATA_NOT_EXIST= new ErrorCode(1002023009, "关联人数据不存在!");

    ErrorCode  PROJECT_DATA_NOT_EXIST= new ErrorCode(1002023010, "项目不存在!!!");

    ErrorCode  ROLE_NOT_OPTION_AUTH= new ErrorCode(1002023011, "该角色无权限操作!!!");

    ErrorCode  NOT_OPTION_AUTH= new ErrorCode(1002023012, "无权限操作!!!");

    ErrorCode  RELATION_DATA_REQUEST_EXIST= new ErrorCode(1002023013 ,"已有关联请求记录!");


    ErrorCode RELATION_ROLE_DATA_NOT_EXIST = new ErrorCode(1002013014, "无对应【{}】角色的处理人或该角色未加入项目,请检查");

    ErrorCode  RELATION_DATA_IN_HOUSE_EXIST= new ErrorCode(1002023015 ,"您不属于该项目，无权限操作!");

    ErrorCode  FLOW_START_NO_DELETE = new ErrorCode(1002023015 ,"该流程已开始,无法进行此操作");

    ErrorCode  DESIGN_AND_OWNER_IN_HOUSE_EXIST= new ErrorCode(1002023016 ,"【{}】未加入项目 请检查");

    ErrorCode  SJ_FLOW_NOT_CREATE = new ErrorCode(1002023017, "设计流程未确认,请确认！");
    ErrorCode DESIGN_STYLE_NOT_SELECT = new ErrorCode(1002023018, "设计风格未选择 请到项目信息内补充！");

    ErrorCode NODE_DATA_IS_UPDATE = new ErrorCode(1002023019, "节点数据状态已变更,请重新操作");

    ErrorCode SG_FLOW_NODE_IS_CREATE = new ErrorCode(1002023020, "施工流程已创建,请重新操作");
    ErrorCode GYS_USER_ID_EXITS = new ErrorCode(1002023021, "该供应商已存在,请重新操作");

    ErrorCode  POINTS_NOT_INFA_CONFIG = new ErrorCode(1002023022, "积分配置不存在,请联系管理员配置");

    ErrorCode  USER_NOT_CREATE_PROJECT = new ErrorCode(1002023023, "创建人非本人 无法关闭该项目");

    ErrorCode  REFORM_NOT_CONFIRM_STATUS = new ErrorCode(1002023024, "该联系单非待确认状态,无法操作");

    ErrorCode  REFORM_NOT_CONFIRM_USER = new ErrorCode(1002023025, "非联系单确认人,无法操作");

}